import Vue from 'vue'
import App from './App'
import store from '@/store'
import uView from '@/uni_modules/uview-ui'
// const vconsole = require('@/utils/vconsole.js')
// Vue.prototype.$vconsole = new vconsole()

Vue.use(uView)

let appTheme = require('@/mixins/theme.js')
Vue.mixin(appTheme)

Vue.prototype.$store = store

uni.$u.config.unit = 'rpx'
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
	...App
})

// 引用请求
require('@/config/request.js')(app)

app.$mount()
